package com.abaaba.project2.bean.vo;

import com.abaaba.project2.bean.Admin;
import lombok.Data;

import java.util.List;

@Data
public class AdminListVo {
    /**
     * total : 3
     * items : [{"id":5,"username":"mall123","avatar":"'","roleIds":[2,3]},"\u2026"]
     */

    private int total;
    private List<Admin> items;

    public AdminListVo(int total, List<Admin> items) {
        this.total = total;
        this.items = items;
    }

    public AdminListVo() {
    }
}
